// samsting : this file is auto create.

#include "Risk/2015-08-04/QueryNameListResponse.h"

namespace aliyun { namespace Risk {

QueryNameListResponse::QueryNameListResponse() {
}

const string& QueryNameListResponse::RiskName::GetType(void) const {
  return Type_;
}

const string& QueryNameListResponse::RiskName::GetDataType(void) const {
  return DataType_;
}

const string& QueryNameListResponse::RiskName::GetDataValue(void) const {
  return DataValue_;
}

const std::vector<QueryNameListResponse::RiskName>& QueryNameListResponse::GetRiskNameLists(void) const {
  return RiskNameLists_;
}

const string& QueryNameListResponse::GetCode(void) const {
  return Code_;
}

const char* QueryNameListResponse::BaseKey(void) {
  return "QueryNameListResponse";
}

void QueryNameListResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int RiskNameLists__length = 0;
  UnmarshallerInt(RiskNameLists__length, response_map, "QueryNameListResponse.RiskNameLists.Length");
  if(RiskNameLists__length >= 0) {
    RiskNameLists_.resize(RiskNameLists__length);
    for(int i1 = 0; i1 < RiskNameLists__length; i1++) {
      UnmarshallerString(RiskNameLists_[i1].Type_, response_map, "QueryNameListResponse.RiskNameLists["+string_ValueOfInt(i1)+"].Type");
      UnmarshallerString(RiskNameLists_[i1].DataType_, response_map, "QueryNameListResponse.RiskNameLists["+string_ValueOfInt(i1)+"].DataType");
      UnmarshallerString(RiskNameLists_[i1].DataValue_, response_map, "QueryNameListResponse.RiskNameLists["+string_ValueOfInt(i1)+"].DataValue");
    } // for(int i1 = 0; i1 < RiskNameLists__length; i1++) {
  } // if(RiskNameLists__length >= 0) {

  UnmarshallerString(Code_, response_map, "QueryNameListResponse.Code");
}


} } // namespace aliyun { namespace Risk {

// end of file 
